﻿using System;
using System.ComponentModel.Composition;
namespace Skynet.Contracts
{
    [MetadataAttribute]
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class ExportCaptureDeviceAttribute : ExportAttribute
    {
        public ExportCaptureDeviceAttribute(string id, CaptureTypes types)
            : base(typeof(ICaptureDevice))
        {
            ID = id;
            Types = types;
        }
        public string ID { get; private set; }
        public CaptureTypes Types { get; private set; }
        public int Metric { get; set; }
    }
}
